package cc.comac.mom.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import cc.comac.mom.entity.base.BaseResultEntity;

@TableName("equip_spare_part_warehouse_relation")
public class EquipSparePartWarehouseRelationEntity extends BaseResultEntity {

	/**
	 * 
	 */

	private static final long serialVersionUID = 1L;
	
	@TableId(value = "spare_part_warehouse_id", type = IdType.INPUT)
	@TableField("spare_part_warehouse_id")
	private long id;
	
	private long warehouseId;
	
	private long sparepartId;
	
	private String description;

	@Override
	public long getId() {
		return id;
	}

	@Override
	public void setId(long id) {
		this.id = id;
	}

	public long getWarehouseId() {
		return warehouseId;
	}

	public void setWarehouseId(long warehouseId) {
		this.warehouseId = warehouseId;
	}

	public long getSparepartId() {
		return sparepartId;
	}

	public void setSparepartId(long sparepartId) {
		this.sparepartId = sparepartId;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}
	

}
